package com.itheima.travel.mapperExt;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface RouteMapperExt {

    @Update("update tab_route set attention_count = (attention_count+1) where id = #{routeId,jdbcType=BIGINT} ")
    Long updateRouteCountById(Long routeId);
}
